#!/bin/bash
mv -f /root/.jenkins/workspace/kw-config/kw-config/target/kw-config.jar /root/docker/kw-config/target/kw-config.jar
echo start kw-config ....
cd /root/docker
docker-compose up -d --no-deps --build kw-config
rm -rf /root/.jenkins/workspace/kw-config
rm -rf /root/.jenkins/workspace/kw-config@tmp
echo end kw-config ....
exit
echo done!
